package com.wsd.bookkeeping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsd.bookkeeping.entity.Comment;
import com.wsd.bookkeeping.entity.query.CommentQuery;
import com.wsd.exception.RRException;

import java.util.List;
import java.util.Map;

public interface CommentService extends IService<Comment> {

    List<Map<String, Object>> queryByPage(CommentQuery commentQuery);

    Map<String, Object> queryBookInfo(Integer bookId) throws RRException, InterruptedException;
}
